package org.jeecg.modules.business.doc.outbound.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.business.doc.outbound.entity.WmsOutReceiptMaterial;
import org.jeecg.modules.business.doc.outbound.vo.WmsOutReceiptMaterialResponseVO;

import java.util.List;

/**
 * @Description: 出库单-物料
 * @Author: jeecg-boot
 * @Date:   2023-08-09
 * @Version: V1.0
 */
public interface IWmsOutReceiptMaterialService extends IService<WmsOutReceiptMaterial> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<WmsOutReceiptMaterial>
	 */
	public List<WmsOutReceiptMaterial> selectByMainId(String mainId);

	/**
	 * 出库单-物料主表ID分页查询
	 * @param page
	 * @param id
	 * @return
	 */
    IPage<WmsOutReceiptMaterialResponseVO> queryPageReceiptMaterialByTaskId(IPage<WmsOutReceiptMaterial> page, String id);
}
